package com.kc.gb.feign.slant;

import com.kc.gb.base.dto.Result;
import com.kc.gb.feign.ptl.support.dtos.*;
import com.kc.gb.feign.slant.support.SlantCommand;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.net.URI;
import java.util.List;

@FeignClient(value = "phoenix-device-slant",url = "EMPTY")
public interface SlantFeignClient {

    @PostMapping("/device/slant/commands")
    Result<?> commands(URI uri, @RequestBody List<SlantCommand> commands);

}
